<?php session_start();
if(!isset($_SESSION['login']))
{
    $_SESSION['login'] = false;
}
    $_SESSION['page'] = "index"; 
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Home</title>
    <link rel="stylesheet" type="text/css" title="T1" href="stylesheet/progin.css" id="link_theme" />
        <link rel="stylesheet" type="text/css" href="stylesheet/detail.css" />
        <link rel="stylesheet" type="text/css" href="stylesheet/home.css" />
		<meta name="description" content="RER Gag, Make You Laughing" />
		<meta name="keywords" content="laugh" />
		<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
                 <script type="text/javascript" src="script/home.js"></script>
    </head>
    <body>
        <?php
            include 'header.php';
         ?>
<!-- yang link registrasi, home, daftar, dan posting nanti dimasukkan ke header .php ya-->
        
<!--        </div>-->
            
        <div class="main_container">
                
            <?php
                echo "<p class='titletop'>Top Commented Posts</p>";
                include 'top_commented.php';
                echo "<p class='titletop'>Top Liked Posts</p>";
                include 'top_liked.php';
               ?>
           

           
            <script type="text/javascript" src="script/register.js"></script>
            <script type="text/javascript" src="script/progin.js"></script>
             
        </div>
    </body>
</html>
